package by.dkusch.aircompany.services.csv.airportcsv;

import java.io.Serializable;

import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
import org.apache.camel.dataformat.bindy.annotation.DataField;

@CsvRecord(separator = ";")
public class AirportCSV implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@DataField(pos = 1)
	private String id;

	@DataField(pos = 2)
	private String code;
	@DataField(pos = 3)
	private String type;
	@DataField(pos = 4)
	private String name;
	@DataField(pos = 5)
	private String latitudeDeg;

	@DataField(pos = 6)
	private String longitudeDeg;

	@DataField(pos = 7)
	private String elevationFt;

	@DataField(pos = 8)
	private String continent;

	@DataField(pos = 9)
	private String country;

	@DataField(pos = 10)
	private String region;

	@DataField(pos = 11)
	private String municipality;

	@DataField(pos = 12)
	private String scheduledService;

	@DataField(pos = 13)
	private String gpsCode;

	@DataField(pos = 14)
	private String iataCode;

	@DataField(pos = 15)
	private String localCode;

	@DataField(pos = 16)
	private String wikipediaLink;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLatitudeDeg() {
		return latitudeDeg;
	}

	public void setLatitudeDeg(String latitudeDeg) {
		this.latitudeDeg = latitudeDeg;
	}

	public String getLongitudeDeg() {
		return longitudeDeg;
	}

	public void setLongitudeDeg(String longitudeDeg) {
		this.longitudeDeg = longitudeDeg;
	}

	public String getElevationFt() {
		return elevationFt;
	}

	public void setElevationFt(String elevationFt) {
		this.elevationFt = elevationFt;
	}

	public String getContinent() {
		return continent;
	}

	public void setContinent(String continent) {
		this.continent = continent;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getMunicipality() {
		return municipality;
	}

	public void setMunicipality(String municipality) {
		this.municipality = municipality;
	}

	public String getScheduledService() {
		return scheduledService;
	}

	public void setScheduledService(String scheduledService) {
		this.scheduledService = scheduledService;
	}

	public String getGpsCode() {
		return gpsCode;
	}

	public void setGpsCode(String gpsCode) {
		this.gpsCode = gpsCode;
	}

	public String getIataCode() {
		return iataCode;
	}

	public void setIataCode(String iataCode) {
		this.iataCode = iataCode;
	}

	public String getLocalCode() {
		return localCode;
	}

	public void setLocalCode(String localCode) {
		this.localCode = localCode;
	}

	public String getWikipediaLink() {
		return wikipediaLink;
	}

	public void setWikipediaLink(String wikipediaLink) {
		this.wikipediaLink = wikipediaLink;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("AirportCSV [id=");
		builder.append(id);
		builder.append(", code=");
		builder.append(code);
		builder.append(", type=");
		builder.append(type);
		builder.append(", name=");
		builder.append(name);
		builder.append(", latitudeDeg=");
		builder.append(latitudeDeg);
		builder.append(", longitudeDeg=");
		builder.append(longitudeDeg);
		builder.append(", elevationFt=");
		builder.append(elevationFt);
		builder.append(", continent=");
		builder.append(continent);
		builder.append(", country=");
		builder.append(country);
		builder.append(", region=");
		builder.append(region);
		builder.append(", municipality=");
		builder.append(municipality);
		builder.append(", scheduledService=");
		builder.append(scheduledService);
		builder.append(", gpsCode=");
		builder.append(gpsCode);
		builder.append(", iataCode=");
		builder.append(iataCode);
		builder.append(", localCode=");
		builder.append(localCode);
		builder.append(", wikipediaLink=");
		builder.append(wikipediaLink);
		builder.append("]");
		return builder.toString();
	}

}
